-f Requests ssh to go to background just before command execution. This is useful if ssh is going to ask for passwords or passphrases, but the user wants it in ...
2014年8月5日 — Use -n when you have a long running process and don't wish to keep the SSH connection in the foreground. (like the examples stated above.) Use - ...
2020年3月31日 — If you're only interested in forwarding ports, and don't want to keep a terminal alive on your local machine to maintain the connection, the -N ...
2023年11月12日 — A process which is running in the background does not have access to the terminal ( /dev/tty ), so its standard input, output, and error need to ...